package org.wxd.account.api.user;

import org.wxd.account.api.user.dto.*;

/**
 * Created by wangxd on 2015/10/30.
 */
public interface UserService {

    /** 添加购买者
     * @param request
     * @return
     */
    UserRecord addPurchaser(UserAddRequest request);

    /**
     * 添加管理员
     * @param request
     * @return
     */
    UserRecord addAdmin(UserAddRequest request);

    /**
     * 添加售出者
     * @param request
     * @return
     */
    UserRecord addSeller(UserAddRequest request);

    /**
     * @param request
     * @return
     */
    UserRecord remove(UserRemoveRequest request);

    /**
     * @param request
     * @return
     */
    UserRecord active(UserActiveRequest request);

    /**
     * @param request
     * @return
     */
    UserRecord reset(UserResetRequest request);


}
